const Test = {
  state: {
    test: '我是模块化里的state',
  },
  mutations: {
    setStateData: (state, newData) => {
      state.test = newData;
    },
  },
  actions: {
    setTestData: ({ commit }, newData) => {
      commit('setStateData', newData);
    },
  },
};
export default Test;
